﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace Choucius.Boilerplate9.Migrations
{
    /// <inheritdoc />
    public partial class CreationAuditedAggregateRoot : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "LastModificationTime",
                table: "RubberFrameLogs");

            migrationBuilder.DropColumn(
                name: "LastModifierUserId",
                table: "RubberFrameLogs");

            migrationBuilder.DropColumn(
                name: "LastModificationTime",
                table: "PlasticContainerLogs");

            migrationBuilder.DropColumn(
                name: "LastModifierUserId",
                table: "PlasticContainerLogs");

            migrationBuilder.DropColumn(
                name: "LastModificationTime",
                table: "OutboundRubberFrameLogs");

            migrationBuilder.DropColumn(
                name: "LastModifierUserId",
                table: "OutboundRubberFrameLogs");

            migrationBuilder.DropColumn(
                name: "LastModificationTime",
                table: "OutboundPlasticContainerLogs");

            migrationBuilder.DropColumn(
                name: "LastModifierUserId",
                table: "OutboundPlasticContainerLogs");

            migrationBuilder.DropColumn(
                name: "LastModificationTime",
                table: "InboundRubberFrameLogs");

            migrationBuilder.DropColumn(
                name: "LastModifierUserId",
                table: "InboundRubberFrameLogs");

            migrationBuilder.DropColumn(
                name: "LastModificationTime",
                table: "InboundPlasticContainerLogs");

            migrationBuilder.DropColumn(
                name: "LastModifierUserId",
                table: "InboundPlasticContainerLogs");
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<DateTime>(
                name: "LastModificationTime",
                table: "RubberFrameLogs",
                type: "datetime(6)",
                nullable: true);

            migrationBuilder.AddColumn<long>(
                name: "LastModifierUserId",
                table: "RubberFrameLogs",
                type: "bigint",
                nullable: true);

            migrationBuilder.AddColumn<DateTime>(
                name: "LastModificationTime",
                table: "PlasticContainerLogs",
                type: "datetime(6)",
                nullable: true);

            migrationBuilder.AddColumn<long>(
                name: "LastModifierUserId",
                table: "PlasticContainerLogs",
                type: "bigint",
                nullable: true);

            migrationBuilder.AddColumn<DateTime>(
                name: "LastModificationTime",
                table: "OutboundRubberFrameLogs",
                type: "datetime(6)",
                nullable: true);

            migrationBuilder.AddColumn<long>(
                name: "LastModifierUserId",
                table: "OutboundRubberFrameLogs",
                type: "bigint",
                nullable: true);

            migrationBuilder.AddColumn<DateTime>(
                name: "LastModificationTime",
                table: "OutboundPlasticContainerLogs",
                type: "datetime(6)",
                nullable: true);

            migrationBuilder.AddColumn<long>(
                name: "LastModifierUserId",
                table: "OutboundPlasticContainerLogs",
                type: "bigint",
                nullable: true);

            migrationBuilder.AddColumn<DateTime>(
                name: "LastModificationTime",
                table: "InboundRubberFrameLogs",
                type: "datetime(6)",
                nullable: true);

            migrationBuilder.AddColumn<long>(
                name: "LastModifierUserId",
                table: "InboundRubberFrameLogs",
                type: "bigint",
                nullable: true);

            migrationBuilder.AddColumn<DateTime>(
                name: "LastModificationTime",
                table: "InboundPlasticContainerLogs",
                type: "datetime(6)",
                nullable: true);

            migrationBuilder.AddColumn<long>(
                name: "LastModifierUserId",
                table: "InboundPlasticContainerLogs",
                type: "bigint",
                nullable: true);
        }
    }
}
